package com.caijg.service;

import com.caijg.domain.dto.UserMessageDTO;
import com.caijg.domain.po.Chat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caijg.domain.vo.Result;
import org.reactivestreams.Publisher;

/**
 * <p>
 * 对话表 服务类
 * </p>
 *
 * @author caijg
 * @since 2024-12-26
 */
public interface IChatService extends IService<Chat> {

    Result chat(UserMessageDTO userMessageDTO);

    Result history(String userId);

    Result messages(String sessionId);

    Result delete(String sessionId);
}
